Skip to main content

FlowPushNotification

Represents a workflow step for managing push notifications, including settings and delivery logic.

Properties

NameDescription
IsEnabledDetermines whether push notifications are enabled for this step.
KeyA unique identifier for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.
MembersThe configuration for members who will receive the push notification.
NameName for the workflow step.
UsersA list of resolved users who will receive the notification.
MessageThe multilanguage message body of the push notification.
CaptionThe caption dictionary representing localized captions for the flow object.
SubjectThe multilanguage subject of the push notification.

Constructors

NameDescription
FlowPushNotification(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowPushNotification class with a name, workflow data, and workflow code instance.
FlowPushNotification(name, workflowData, workflowCodeInstance)Constructor for the FlowPushNotification class. Initializes a new instance of the FlowPushNotification class.

Methods

NameDescription
AddConstantPosition(id, code, description)Adds a position to the push notification's recipient list using its ID, code, and description.
AddConstantPosition(id)Adds a position to the push notification's recipient list using its ID.
AddConstantUser(id)Adds a user to the push notification's recipient list using their ID.
Initialize()Initializes the push notification step with default settings.
ClearMembers()Clears all members from the push notification's recipient configuration.
SendPushNotification(userInfo, requestItem)Sends a push notification to a specified user based on a process request item.
AddConstantUser(id, code, name)Adds a user to the push notification's recipient list using their ID, code, and name.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.